function messageReducer(state = {msg: 'Hello World'}, action) {
    switch (action.type) {
        case 'message/edit':
            return {...state, msg: action.payload};
        default:
            return state;
    }
}
export default messageReducer;